package com.leoman.plz_p.module.bean;

import java.io.Serializable;

/**
 * Created by guoh on 2018/7/7.
 */
public class AnswerBean implements Serializable{

    public Boolean answerRight;

    private String content;
    private String createTime;
    private int id;
    private Boolean isTrue;
    private String reach;
    private int topicId;


    public void setAnswerRight(Boolean answerRight) {
        this.answerRight = answerRight;
    }

    public Boolean getAnswerRight() {
        return answerRight;
    }

    public boolean isRight() {
        return isTrue!=null;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Boolean getIsTrue() {
        return isTrue;
    }

    public void setIsTrue(Boolean isTrue) {
        this.isTrue = isTrue;
    }

    public String getReach() {
        return reach;
    }

    public void setReach(String reach) {
        this.reach = reach;
    }

    public int getTopicId() {
        return topicId;
    }

    public void setTopicId(int topicId) {
        this.topicId = topicId;
    }
}
